package com.erdos.upc.entity;

import java.util.ArrayList;
import java.util.List;

public class MenuVO {
	/**
	 * 菜单名称，菜单显示的字面值
	 */
	private String name;
	/**
	 * 当前菜单的代码,对应menuConfig.xml中code属性值
	 */
	private String code;
	/**
	 * 菜单URL，对应menuConfig.xml中的destURL
	 */
	private String href="";
	/**
	 * 当前节点的父节点，对应menuConfig.xml中的父节点的code
	 */
	private String target="";
	/**
	 * 父节点
	 */
	private MenuVO parent;
	/**
	 * 孩子节点
	 */
	private List<MenuVO> children = new ArrayList<MenuVO>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public MenuVO getParent() {
		return parent;
	}

	public void setParent(MenuVO parent) {
		this.parent = parent;
	}

	public List<MenuVO> getChildren() {
		return children;
	}

	public void setChildren(List<MenuVO> children) {
		this.children = children;
	}

}
